cmake_minimum_required(VERSION 2.8.12)
project(sharememory)

# find_package(
# )

# include_directories(
#   include dll/
#   include src/
# )

add_library(${PROJECT_NAME} SHARED cSharedMemory.c)

add_executable(${PROJECT_NAME}.out
  main.c
  cSharedMemory.c
)

## 配置链接库

target_link_libraries(
  ${PROJECT_NAME}
  pthread
)

